#! /bin/bash

export SPARK_HOME=/usr/local/spark
source ${SPARK_HOME}/conf/spark-env.sh
source ${SPARK_HOME}/bin/load-spark-env.sh
source ${SPARK_HOME}/sbin/spark-config.sh
${SPARK_HOME}/bin/spark-class org.apache.spark.deploy.worker.Worker  $SPARK_MASTER
